<div class="contenidofijo">
<div class="ciucourseCiustudents indexmodificar">
	<h2><?php __('Changecourse');?></h2>
        <!-- form -->
        <div class="ciuusers form">	
            <?php echo $this->Form->create('CiucourseCiustudent');?>
            <?php
                    echo $this->Form->input('document', array('label'=>'Buscar por Documento'));
            ?>
            <?php echo $this->Form->end(__('Submit', true));?>
        </div>
        <!-- form -->
		
	<table class="zebra" cellpadding="0" cellspacing="0">
	<thead>
	<tr>
			<th><?php echo $this->Paginator->sort('Código curso');?></th>
			<th><?php echo $this->Paginator->sort('ciusubject_id');?></th>
			<th><?php echo $this->Paginator->sort('Estudiante');?></th>
            <th><?php echo $this->Paginator->sort('ciustudenttype_id');?></th>
            <th><?php echo $this->Paginator->sort('ciucurspersstate_id');?></th>
            <th><?php echo $this->Paginator->sort('transaction_number');?></th>
            <th><?php echo $this->Paginator->sort('payment_cost');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	</thead>
	<?php
	$i = 0;
	foreach ($ciucourseCiustudents as $ciucourseCiustudent):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $ciucourseCiustudent['CiucourseCiustudent']['ciucourse_id']; ?>&nbsp;</td>
		<td>
			<?php echo $ciucourseCiustudent['Ciusubject']['name']; ?>
		</td>
		<td>
			<?php echo $ciucourseCiustudent['Ciuuser']['document']; ?>
		</td>
                <td>
		    <?php echo $ciucourseCiustudent['Ciustudenttype']['name']; ?>
		</td>
                <td>
		    <?php echo $ciucourseCiustudent['Ciucurspersstate']['name']; ?>
		</td>
               <td>
		    <?php echo $ciucourseCiustudent['CiucourseCiustudent']['transaction_number']; ?>
		</td>
               <td>
		    <?php echo $ciucourseCiustudent['CiucourseCiustudent']['payment_cost']; ?>
		</td>
		
		<td class="actions">
			<?php echo $this->Html->link(__('Modificar', true), array('action' => 'changelevel', $ciucourseCiustudent['CiucourseCiustudent']['id']));?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<div class="paginatorcounter">
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</div>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
</div>
